package cn.yl.user.server.entity.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public class UserDto {

    private Integer id;

    @ApiModelProperty("用户头像地址")
    @TableField("portrait")
    private String portrait;

    @ApiModelProperty("用户昵称")
    @TableField("name")
    private String name;

    private String jwt;

}
